package com.example.finaltest.goods;
import java.io.Serializable;
public class PayType implements Serializable {

    /**
     * id : 1
     * userId : 1
     * commodityId : 1
     * count : 1
     */

    private int id;
    private int userId;
    private int commodityId;
    private int count;

    public PayType(int count,int commodityId,int userId,int id ){
        this.id = id;
        this.userId = userId;
        this.commodityId = commodityId;
        this.count = count;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(int commodityId) {
        this.commodityId = commodityId;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
